package com.fastCms.business.frame.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * APP用户
 * </p>
 *
 * @author liusq
 * @since 2024-04-28
 */
@Data
@ApiModel(value = "User对象", description = "APP用户")
public class User extends Model<User> {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "性别1-男2-女")
    private String gender;

    @ApiModelProperty(value = "头像")
    private String headImg;

    @ApiModelProperty(value = "生日")
    private String birthday;

    @ApiModelProperty(value = "身高")
    private String height;

    @ApiModelProperty(value = "体重")
    private String weight;

    @ApiModelProperty(value = "学历:1-高中及以下  2-大专 3-本科 4-硕士及以上")
    private String education;

    @ApiModelProperty(value = "交友宣言")
    private String loveIntroduce;

    @ApiModelProperty(value = "家乡-省份")
    private String htProvince;

    @ApiModelProperty(value = "家乡-城市")
    private String htCity;

    @ApiModelProperty(value = "家乡-区名称")
    private String htDistrict;

    @ApiModelProperty(value = "日常所在-省份")
    private String province;

    @ApiModelProperty(value = "日常-城市")
    private String city;

    @ApiModelProperty(value = "日常-区名称")
    private String district;

    @ApiModelProperty(value = "日常-经度")
    private String longitude;

    @ApiModelProperty(value = "日常-纬度")
    private String latitude;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "1-正常 0-已删除")
    private Integer state;

    @ApiModelProperty(value = "1-正常 2-被禁用", notes = "默认正常状态")
    private Integer status;
}
